﻿<Window x:Class="OrzRefectorMenu.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:control="clr-namespace:OrzRefectorMenu.AssignUserControl"
        Title="MainWindow" Height="350" Width="525" Deactivated="Window_Deactivated"  WindowStyle="None" 
          Margin="10,10,10,10"
        >
    <Window.Background>
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="#E3EFFF" Offset="0"/>
            <GradientStop Color="#C4DDFF" Offset="0.992"/>
            <GradientStop Color="#ADD1FF" Offset="0.085"/>
        </LinearGradientBrush>
    </Window.Background>
    <Border x:Name="MainBorder"
          BorderThickness="1">
        <Border.Background>
            <LinearGradientBrush StartPoint="0.126,-0.197"
                           EndPoint="0.874,1.197">
                <GradientStop Offset="0"
                      Color="#E3EFFF" />
                <GradientStop Offset="1"
                      Color="#E3EFFF" />
                <GradientStop Offset="0.284"
                      Color="#E3EFFF" />
                <GradientStop Offset="0.365"
                      Color="#FFFFFFFF" />
            </LinearGradientBrush>
        </Border.Background>
        <DockPanel LastChildFill="True" Width="Auto" Height="Auto" Margin="10,10,10,10" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
            <WrapPanel DockPanel.Dock="Bottom">
                <ComboBox x:Name="contextComboBox" IsEditable="False" Width="250" SelectionChanged="contextComboBox_SelectionChanged" >
                    <ComboBoxItem>a[i].$A$ = b.$A$;</ComboBoxItem>
                    <ComboBoxItem>$LA$Label = m.$A$;</ComboBoxItem>
                </ComboBox>
            </WrapPanel>
            <StackPanel>
                <UserControl x:Name="changeUserControl"/>
            </StackPanel>
        </DockPanel>
    </Border>
</Window>
